package com.example.mqtt.demo.pub;

/**
 * <B>概要说明：</B> <BR>
 *
 * @author zhoulin1@xsyxsc.com
 * @since 2021-07-21 16:24
 */
public interface IPubService {

	/**
	 * Publish message
	 *
	 * @param topic
	 * @param message
	 */
	void publishMessage(String topic, String message);

	/**
	 * Disconnect MQTT Client
	 */
	void disconnect();
}

